<template>
    <el-col :span="24" style="padding-bottom: 0px;">
        <el-form :inline="true" v-model="filters">
            <el-col :span="19">
                
<el-form-item>
  <el-input v-model="filters.userAnswer" placeholder="用户答案" clearable></el-input>
</el-form-item>

<el-form-item>
<el-select v-model="filters.questionType" placeholder="类型">
<el-option
:label="''"
:value="null">
</el-option>
<el-option
:label="'单选题'"
:value="0">
</el-option>
<el-option
:label="'多选题'"
:value="1">
</el-option>
<el-option
:label="'填空题'"
:value="2">
</el-option>
<el-option
:label="'判断题'"
:value="3">
</el-option>
<el-option
:label="'简答题'"
:value="4">
</el-option>
<el-option
:label="'计算题'"
:value="5">
</el-option>
<el-option
:label="'论述题'"
:value="6">
</el-option>
</el-select>
</el-form-item>

<el-form-item>
  <el-input v-model="filters.userGrade" placeholder="用户分数" clearable></el-input>
</el-form-item>

<el-form-item>
<el-select v-model="filters.isEnable" placeholder="状态">
<el-option
:label="''"
:value="null">
</el-option>
<el-option
:label="'禁用'"
:value="0">
</el-option>
<el-option
:label="'启用'"
:value="1">
</el-option>
</el-select>
</el-form-item>

                <el-form-item>
                    <el-button type="primary" @click="search" icon="el-icon-search">查询</el-button>
                </el-form-item>
            </el-col>
            <el-col :span="5" align="right">
                <el-form-item>
                    <el-button type="warning" @click="add" icon="el-icon-plus">添加</el-button>
                    <el-button type="danger" @click="killSelection" icon="el-icon-delete">删除</el-button>
                </el-form-item>
            </el-col>
        </el-form>
    </el-col>
</template>

<script>
    export default {
        name: "lsz-pagination",
        props: ['search', 'filters', 'add', 'killSelection'],
        methods: {}
    }
</script>


